package com.lx.spring;

public class Demo {
    private String name;


    public void hello(){
        System.out.println("hello" + name);
    }

    public void init(){
        System.out.println("初始化方法" + name);
    }

    public void destroy(){
        System.out.println("销毁的方法" + name);
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
